﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DLL.QRCoder
{
    public partial class QRCoder : Form
    {
        public QRCoder()
        {
            InitializeComponent();
        }

        private void textBox1_TextChanged(object sender, EventArgs e)

        private: void button1_Click(object sender, EventArgs e)
        {
            QRCodeGenerator qr = new QRCodeGenerator();
            var myQRCode = qr.CreateQrCode(textBox1.Text，QRCodeGenerator.ECCLevel.H);
            var code = new QRCoder(myQRCode);
            pictureBoxl.Image = code.GetGraphic(50);
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }
    }

    class ECCLevel
    {
    }

